<?php
/**
 * Created by PhpStorm.
 * User: geyouwen
 * Date: 16/8/30
 * Time: 下午11:25
 */

namespace Home\Controller;


use Think\Controller;

class DownloadController extends BaseController
{




    public function index()
    {
        $where = array('status' => 1);
        $order = 'ordid asc';
        $list = $this->getpage(D('download'), $where, $order,C('PAGE_SIZE'));
        $this->assign('list', $list['list']);
        $this->assign('page', $list['page']);
        $this->display();
    }

}